package com.xmtlxx.oms.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



/**
 * 财物分类视图对象 t_classify
 *
 * @author xmtlxx
 * @date 2022-08-12
 */
@Data
@ApiModel("财物分类视图对象")
@ExcelIgnoreUnannotated
public class ClassifyVo {

    private static final long serialVersionUID = 1L;

    /**
     * 分类ID
     */
    @ExcelProperty(value = "分类ID")
    @ApiModelProperty("分类ID")
    private String id;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    @ApiModelProperty("编号")
    private String classifyNo;

    /**
     * 等级
     */
    @ExcelProperty(value = "等级")
    @ApiModelProperty("等级")
    private Long level;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    @ApiModelProperty("名称")
    private String name;

    /**
     * 父级
     */
    @ExcelProperty(value = "父级")
    @ApiModelProperty("父级")
    private String parentId;

    /**
     * 节点
     */
    @ExcelProperty(value = "节点")
    @ApiModelProperty("节点")
    private String ancestors;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    @ApiModelProperty("排序")
    private Long seq;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_common_status")
    @ApiModelProperty("状态")
    private String status;

    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    private String delFlag;

}
